package com.nativetalk.service.four.picture;

import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.picture.TdNtTeacherPictureId;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

/**
 * Created by lizhun on 2016/11/1.
 */
public interface FourPictureService {
    /**
     * @Purpose  获取图片列表
     * @version  4.0
     * @author   lizhun
     * @param
     * @return   RetInfo
     */
    public RetInfo findPicturesByTeaId(int tea_id);
    /**
     * @Purpose  图片批量上传
     * @version  4.0
     * @author   lizhun
     * @param    tea_id
     * @return   RetInfo
     */
    public RetInfo addPicture(int tea_id, CommonsMultipartFile[] pictures);
    /**
     * @Purpose  图片删除上传
     * @version  4.0
     * @author   lizhun
     * @param    tea_id
     * @return   RetInfo
     */
    public RetInfo deletePicture(int tea_id, TdNtTeacherPictureId tdNtTeacherPictureId);
}
